package com.ml.loan.common.redis.keys;

import com.ml.loan.common.redis.BasePrefix;

/**
 * @Description
 * @Author caozhuoxiang
 * @Date 2020/2/14 14:24
 **/
public class ChannelKey extends BasePrefix {

    public ChannelKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    /**根据渠道码缓存渠道信息*/
    public static ChannelKey channelByCode = new ChannelKey(60 * 10,"channelByCode");
    public static ChannelKey channelByCodeV1 = new ChannelKey(60 * 10,"channelByCodeV1");
    /**根据渠道id缓存渠道信息**/
    public static ChannelKey channelById = new ChannelKey(60 * 60 * 3,"channelById");
    /**根据渠道渠道扣量信息*/
    public static ChannelKey channelByRate = new ChannelKey(60 * 10,"channelByRate");
    /**渠道今日注册人数*/
    public static ChannelKey channelByRegistCount = new ChannelKey(60 * 60 * 24,"channelByRegistCount");
    /**渠道今日ip数*/
    public static ChannelKey channelIpByRegistCount = new ChannelKey(60 * 60 * 24,"channelIpByRegistCount");

    /**默认渠道*/
    public static ChannelKey channelByDefault = new ChannelKey(60 * 60 * 3,"channelByDefault");

    /**审核渠道*/
    public static ChannelKey channelByAudit = new ChannelKey(60 * 60 * 3,"channelByAudit");

    /**
     * 渠道上报渠道
     **/
    public static ChannelKey channelByReportCity = new ChannelKey(60 * 60 * 24*7 ,"reportCityRecord");
}
